﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WorkShop.WorkShop
{
    public partial class ValidationControl : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack) {
                txtUserID.Text = "";
                txtPassword.Text = "";
                txtConfirmPassword.Text = "";
            }
        }

        protected void btnLogin_Click(object sender, EventArgs e)
        {
            Response.Redirect("BillInformationValidation.aspx?userID="+txtUserID.Text);
        }

        protected void btnReset_Click(object sender, EventArgs e)
        {
            txtUserID.Text = "";
            txtPassword.Text = "";
            txtConfirmPassword.Text = "";
        }
    }
}